package com.example.toolproject.demo.mapper;



import com.example.toolproject.demo.domain.ScenicArea;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName ScenicAreaMapper
 * @Description TODO
 * @Author lvyongwei
 * @Date 2020-06-19 10:17
 **/
@Mapper
public interface ScenicAreaMapper {

    /**
     * 獲取所有景區信息
     * @return
     */
    public List<ScenicArea> getAllScenicArea();


    /**
     * 根据搜索条件查询景区信息
     * @param searchMessage   搜索条件
     * @return
     */
    public List<ScenicArea> getScenicAreaBySearchMessage(String searchMessage);

    /**
     * 添加景区信息
     * @param scenicArea
     * @return
     */
    public boolean insertScenicArea(ScenicArea scenicArea);
}
